package com.springboot.mybatis.mapper;

import java.util.List;

import javax.annotation.Resource;

import com.springboot.mybatis.model.User;

@Resource
public interface UserMapper {

    List<User> getAll();

    User findUserById(Long id);

    void insert(User user);

    int update(User user);

    int delete(Long id);

}
